Repository navigation
Read Ra as a Korean family name and given name, not only a credential and a title (#1483) - #1520
Merged
Merged
Conversation
… and a title (#1483) ra was en.toml's ungated credential and de.toml's academic title with no name reading, so it was the suffix ending a name in any case (Kim Ra, Sang Hak Ra) and the title opening one (Ra Mi Kim), though Korean names bear it as a surname and a given name. ko.toml gives it a family and a given reading (decisions/vocabulary-collisions' C-i), which derive the gated markers: the credential needs a word to spare and the case signal (rules/S4, the ambiguous acronym needing words to spare; rules/S6, the case signal at the suffix slot) and the title reads only inside a title phrase (rules/H9). After a comma, past a second one and written R.A., the word keeps the credential. de.toml gains a credential reading for ra beside its academic title, so a plain German choice, which turns en.toml's credential off, reads 'Hans Muller, RA' as the suffix instead of reversing the name. The default compile is byte-identical for it. Rule examples, case rows, code comments and the paired-initials benchmark that used RA as a title/suffix dual now write VC (LT for the row naming a rank), each read as RA was under 1.4.0, 2.2.0, 2.3.0 and master. Tests that used ra as a word a strict choice reads differently now use Ae and an invented credential. The snapshot, the CLDR record and the shapes and rules corpora are re-recorded. Decided 2026-11-21. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es, rows The four reviews of the first commit found RA still standing as the title/suffix dual in five decisions Standing lines (S7, H3 and H4 now stating readings that no longer hold), in six _pieces.py and _comma.py docstrings, and in rules/C9 and C12; each now writes VC, read as RA was. The decisions entry records the costs the first commit missed: a lone RA after a family comma in a name written wholly in capitals is the given name, a title behind a leading RA falls into the middle name, R.A with no comma ends the name as the family, and the spaced Sig. ra no longer joins the title (decisions/R4's #840 entry marked). Its config_diff figures are re-taken on the corpora holding the respelled examples (422 names, 99, 110 and 32 moved) with the second command written out, and its snapshot breakdown and the CLDR rendering's provenance are corrected. The release log and migrate.rst state the capitals limit. New case rows pin the comma, order and spelling paths (Kim, Ra; KING, RA; Jane Doe R.A; Kim RA, Jr.; kim ra; Ra Kim, Mi; Sig. ra Rossi; both family-first orders), and the German-choice test gains the second-comma, capitals and strict Kim Ra rows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ts, rows
The review of the first fix found rules/C11's prose still using RA as the
dual, now false ('Smith, Ms RA Ma' reads title 'Ms', given 'RA'); it
writes VC. The capitals cost was narrower than the behavior: RA opening
the part after a family comma in a name wholly in capitals is the given
name before a credential too ('SMITH, RA MD'). And RA opening the given
part after a family comma ahead of a name word is the given name, not
the title ('Smith, RA John', 'Muller, RA Hans' under a plain German
choice), rules/H9's reading of 'Smith, Dean John' on master: recorded as
cost (7), with rows, and the release log and migrate.rst say both.
The member-pair settlers and the openers grid take VC for RA: with RA
the member-pair control had moved to 1632 unseen, and with VC it reads
the recorded 1608 again; the openers control re-taken at c1ceb3b reads
1,062 in both spellings. The Measured bullet cites the pushed 5e77598
for its figures, whose corpora match, and its snapshot breakdown says
which examples read alike. A version note, locales.rst's "by default",
the de.toml bullet's comma, and locales/AGENTS.md's double comma.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…' provenance The review of 88ccf54 found the Measured bullet's "but for rules/C12's" false (5e77598 holds all nine respellings: 21 committed names match the filter at master, 12 there) and its "9 entries" breakdown reproducible from no committed tree; it now states what the committed snapshot lists against master's record (nine out, nine in, two moved) and how the seven moving RA texts are found. Cost (7) reaches RA behind a title after a family comma too ('Smith, Mr RA John'), ahead of a credential the part staying the run ('Smith, RA PhD'); cost (3) says RA behind a credential stays in the run ('SMITH, MD RA') and records 'SMITH, RA, JOHN'; and two readings the gated class already gives on master are recorded ('ROBERT (RA) ALLEN', 'Smith, RA PhD Ma'). The release log and migrate.rst say "opening the part" and "ahead of a name word", as the entry does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Smith, Mr RA The review of c94ed75 found no claim wrong and the summaries still wider than the behavior: migrate.rst said Ra ending a name after a comma is the credential, where only RA in capitals is ('Kim, Ra' reads given 'Ra'); cost (7) could be read as reaching 'Smith, Mr RA', which keeps suffix 'RA'; and cost (3)'s FEC clause had drifted from 'KING, RA'. The release log and migrate.rst list 'Kim, Ra' among the moves, and migrate.rst says 2.0 through 3.1 read a two-word name ending in Ra as the credential too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1483
Decided 2026-11-21: Proposal B.
ranow has name readings by default. The three follow-up steps of the 2026-11-19 Burmese decision landed in #1489, so nothing of the issue stays open.What changes
rawas two things and nothing else: en.toml's ungated credential and de.toml's academic title (Rechtsanwalt). So it was:Kim Ra,Sang Hak Ra);Ra Mi Kim,Mr Ra Kumar).Yet it is borne as a Korean surname and given name. ko.toml now gives it a
familyand agivenreading, which derive the gated markers:Sang Hak RaHak, suffixRaHak, familyRaKim RaRa, no family (1.4.0: familyRa)RaRa Mi KimRaRaMr Ra KumarMr RaMr, givenRaRa KimunderFAMILY_FIRSTRaRa, givenKimJane Doe née Ranée, suffixRaRaJohn Smith, RARARA(unchanged)Jane Doe, PT, RAPT, RAPT, RA(unchanged)Jane Doe, R.A.R.A.R.A.(unchanged)Which file. The readings are in ko.toml, the file of the language whose names carry the word (nameparser/vocab/README.md):
enamong them, so the credential would be gated in English lists.mychoice already reads the word as a name.The Burmese and Indonesian bearers are named in the entry's note.
Family alone was declined. Without the given reading, de.toml's title stays ungated, which breaks two shapes:
Jane Doe, PT, RAreads titleRA(5 names);KING, RAgoes from suffix to title (9 names).A plain German choice
A plain choice of
deturns the other files' vocabulary readings of a word off where de.toml holds one, so it drops en.toml's credential. It keeps ko.toml's name readings, because a choice never drops a name reading. With the name readings alone, a plain German choice would therefore have readHans Müller, RAas givenRA, familyHans Müller: the name reversed.de.toml now carries a
credentialreading forrabeside its academic one, for Rechtsanwalt written after the name. The default compile already held that reading through en.toml, so_compiled.pyis byte-identical. The build checks for one suffix kind per word (4) and for each category reading alike in every file (5) both pass.dechoiceHans Müller, RARARAMüller, RARARAHans Müller, LL.M., RARA, suffixLL.M.LL.M., RAHans Müller, Dr., RADr. RADr., suffixRAHans Müller RARARARA MüllerRARA(cost 1 below)RA Dr. Hans MüllerRA Dr.RA, middleDr. Hans(cost 1)KING, RARARAA strict
dechoice reads no ko.toml. It keeps the title in front (RA Müller,RA Dr. Hans Müller), and now reads the credential behind it (Hans Müller, RA→ suffixRA, where master read titleRA).Accepted costs
RAopening a German name is now the given name (RA Müller→ givenRA). This holds by default and under a plain German choice; a strict German choice keeps the title.RA Dr. Hans Müller→ givenRA, middleDr. Hans, andHerr RA Dr. Müller→ titleHerr, givenRA, middleDr..Dean Dr. Hans Mülleralready reads this way on master.R.Areads as a name word:Jane Doe, R.Areverses (givenR., middleA, familyJane Doe): 4 ClinicalTrials.gov names, 2 people.Jane Doe R.Areads familyR.A.Jane Doe, M.A,Jane Doe, B.AandJohn Smith M.Athe same way. The cause is classify, which looks the gated set up with the interior stop still in the word, so keeping the suffix means widening that test for every gated acronym; left.R.A.inside a name reads as a middle name (John (R.A.) Smith), asJohn (M.A.) Smithdoes on master.KIM MI RAkeeps suffixRA(not fixed).RAopening the part after a family comma in such a name is now the given name, alone or before a credential:KING, RA,DOE, RAand, RA, andSMITH, RA MD(givenRA, suffixMD), where master read the whole part as the suffix. These are the initials FEC's filers mean.SMITH, MD RA→ suffixMD RA).raat a full stop reads its chunk as the gated acronym. rules/R4's exampleDUT.RA MARIA SILVAand CLDR's fictionalDut.ra Prof.ra …read the given name where they read the title, andSang Hak Dut.rareads suffixDut.ra.Kim RA, Jr.readsKimas a lone given name (rules/O5, a lone name word is given by default) where the title reading had left it the family.Sig. ra Rossireads titleSig., givenra. Master read titleSig. ra. The gluedSig.ra Rossiis unchanged, and decisions/R4's Should Italian abbreviated salutations likeSig.raandDott.ssabe titles?Dott.ssa Anna Bianchireads givenDott.ssa#840 entry is marked superseded.RAin the given part after a family comma, ahead of a name word, behind a title or not, is the given name, not a title. With no name word after it,Smith, Mr RAkeeps suffixRA.Smith, RA John→ givenRA, middleJohn;Smith, Mr RA John→ titleMr, givenRA.Müller, RA Hansreads the same by default and under a plain German choice; a strict German choice keeps the title.Smith, Dean Johnreads on master. Ahead of a credential the part is still the run (Smith, RA PhD→ suffixRA PhD).Also moved, though not a cost:
Ra Kim, Mireads familyRa Kim, as 1.4.0 did. Two more now read as the gated class already does on master:ROBERT (RA) ALLENreads nicknameRA, asROBERT (MA) ALLENdoes, andSmith, RA PhD Mareads suffixRA PhD Ma, asSmith, MA PhD Madoes. Not changed:Kim Ae Rastill reads suffixAe Ra, becauseaeis still an ungated credential; decisions/S3's open question now rests onaealone.Examples that used RA as a dual
RAwas the example of "a word of both the title and the suffix vocabulary" in several places:Each now writes
VC, the case row whose name says "rank"LT. Every spelling reads asRAdid under 1.4.0, 2.2.0, 2.3.0 and master, so the rows' notes about past versions stay true. The benchmark's counts were re-taken: 35 and 131is_suffix_piececalls on the tree, and 120 and 1,620 at 47fb2b2, the same as withRA.Other tests that used
raas a word only a strict choice reads differently now use other words:Ae: the strict-choice parametrisation and docs/locales.rst.THEIN AUNG RAin capitals: the Burmese strict test.docs/languages.rst's Burmese paragraph and root AGENTS.md's list of duals are corrected: ten words on 2026-11-21,
raout.Measured
Measured on 2026-11-21 against a checkout of master
81a24221. The full recipe is in decisions/vocabulary-collisions' 2026-11-21 #1483 entry.config_diff.py diffover the 422 names holding the word, atd672700c:Before the respelled examples left the corpus, the same recipe gave 431 names and 105 (76), 117 (88) and 38 (36), the figures the decision was made on. Both commands are in the decisions entry.
The committed snapshot, against master's record: the nine
RAexamples leave the corpus, the nineVCspellings join it reading as they did, and the two renderings of cost 4 move. Seven of the nineRAtexts read differently in this tree than on master. The snapshot, the CLDR record and the shapes and rules corpora are re-recorded.Local snapshots,
measure.py --base:Every other corpus reports no moves.
Agreement with the filed boxes: none broken. Gains:
Ratyped in the given box);Readings alike across spellings: JRC-Names 1 person and Nepal 3 pairs now read alike.
Merged with master
#1521 (
cheikhandsultan, #1463) landed first. Master was merged in (eb5192ac), not rebased:tools/vocab/build.py, byte-identical to the merge.Checks
jaextra.build.py --checkare clean.parity_check.py: 0 of 784 parity rows read otherwise under 1.4.0. The one the first run listed,Doe, RA, is relabelledfix(#296), since 2.2.0 first read it that way.VCamong the settlers. WithRAit had moved to 1,632, unseen.c1ceb3b3in both spellings.feat(#1483)case rows fail on master, and so do six of the eight new German-choice test rows; the other two are boundaries master reads the same way.Reviews
Four reviews of the first commit,
5ba79720, each fixed in5e775983.Sig. ra Rossiand decisions/R4;RA, andJane Doe R.Awith no comma;Kim Ae Raand decisions/S3;RAexample.Kim, Ra,KING, RA,Jane Doe R.A,Kim RA, Jr.andKim Ra, Jr.,Kim Ra, PhD, the lower-case spellings,Ra Kim, Mi,Sig. ra Rossi,RA Dr. Hans Müller, both family-first orders, and more plain and strict German rows. The review also confirmed that the respelled rows keep their branches, by mutation.RAstill used as the dual in_pieces.pyand_comma.py, and in rules/C12;RA, three of them now false;5e775983, fixed in88ccf549:SMITH, RA MD);Smith, RA Johnclass;RAin two test grids, one of whose controls had moved.88ccf549, fixed inc94ed751:c94ed751: no claim wrong; the summaries were still wider than the behavior (Kim, Ra,Smith, Mr RA), worded exactly inc5f52878, each changed sentence's examples parsed before it was committed.🤖 Generated with Claude Code